#!/bin/bash
sudo apt update
echo "change the mirror source list"
sudo apt install wget ca-certificates apt-transport-https -y
sudo wget -o /etc/apt/sources.list https://gitee.com/yufeng-122/termux-linux/raw/master/Linux-Sources/Debian-bullseye.list
sudo apt update
echo "install QEMU-ARM32/ARM64/X86/X64"
sudo apt install qemu qemu-system-x86 qemu-system-arm -y
mkdir -p qemu-vm
cd qemu-vm
mkdir -p images cdimages drives
echo "export HOME=qemu-vm" >> /etc/profile
